// garibong_lib.cpp : Defines the entry point for the console application.
//

#include <define.h>
#include <MsgQ.h>

int main(int argc, char* argv[])
{

	CQueue<CBuff> q;

	CBuff buf,buf2;
	char sz[] = "aaaaabbb";
	buf.put( sz );
	
	q.push( buf );
	q.pop( buf2 );
/*
	CMsgQ msg_q;
	
	char sz[] = "szzz";
	msg_q.push( sz, strlen(sz) );
	msg_q.push( sz, strlen(sz) );
	msg_q.push( sz, strlen(sz) );

	CBuff buff;
	msg_q.pop( buff );

	char temp[100];
	buff.get( (char*)temp );

	printf( "%s", temp );
*/
/*
	CMsgQ msg_q;

	char sz[] = "123";
	msg_q.push( sz, sizeof(sz) );

	CBuff buf;
	msg_q.get( buf );
*/	
	return 0;
}
